package net.huashitong.scheduling.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sirdc.modules.core.dao.BaseDao;
import com.sirdc.modules.core.dao.GenericQuery;
import com.sirdc.modules.sys.base.StringPKService;

import net.huashitong.scheduling.dao.TownshipConditionDao;
import net.huashitong.scheduling.entity.TownshipCondition;
import net.huashitong.scheduling.filter.ProjectFilter;
@Service
public class TownshipConditionService extends StringPKService<TownshipCondition>{
	@Autowired
	private TownshipConditionDao dao;
	@Override
	protected BaseDao<TownshipCondition,String> getDao(){
		return dao;
	}
	public TownshipCondition queryByName(ProjectFilter filter){
		return dao.queryByName(filter);
	}
	public List<TownshipCondition> queryList(String date){
		return dao.queryList(date);
	}
}
